function submitCheck(param_name){ 
	document.getElementById('param_name_para').value = param_name;
	document.indexForm.submit();
}

function checkAdd(){
	if(document.getElementById('param_attr').value==''){
		alert('请输入参数编号！'); 
		document.getElementById('param_attr').focus();
		return false;
	} 
	if(document.getElementById('param_code').value==''){
		alert('请输入参数编码！'); 
		document.getElementById('param_code').focus();
		return false;
	}
	if(document.getElementById('param_name').value==''){
		alert('请输入参数名称！'); 
		document.getElementById('param_name').focus();
		return false;
	}
	if(document.getElementById('para_code1').value==''){
		alert('请输入参数值1！'); 
		document.getElementById('para_code1').focus();
		return false;
	} 
	if(document.getElementById('para_code2').value==''){
		alert('请输入参数值2！');
		document.getElementById('para_code2').focus();
		return false;
	}
}